package Client;

/**
 * keep name player and score
 * @author Termchai 5510546042, Eknarin 5510546239
 *
 */
public class Info {
	
	String [] player;
	int[] score;
	
	public Info(String p1, String p2)
	{
		player = new String[] {p1,p2};
		score = new int[2];
	}
	
	public int[] getScore()
	{
		return score;
	}
	
	public String[] getName()
	{
		return player;
	}
	
	public void plusScore (int x)
	{
		score[x]++;
	}
	
}
